package prototype;


public class Led extends DigitalGate {

    public Led(int MaxInputPort, int MaxOutputPort){
        //Lednek egy bemenete van
        super(1, 0);
    }

    @Override
    public void gateLogic () throws Exception {
        //ures
    }

    public Sign getState(){
         //kimenetre adja a bejovo jelet
        return inputList.get(0).get(0).getDigitalValue();
    }

    @Override
    public ElementType getType() {
        //tipus: led
        return ElementType.Led;
    }

}

